﻿using A.M.Storage.Application;
using Q.M.Finance.Application.IServices;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.IRepository;
using Q.M.Finance.Infrastruecure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.Services
{
    public class Invoice_typeServices : BaseServices<invoice_type, string>, IInvoice_typeServices
    {
        private readonly IInvoice_typeRepository invoice_TypeRepository;
        public Invoice_typeServices(IInvoice_typeRepository invoice_TypeRepository) : base(invoice_TypeRepository)
        {
            this.invoice_TypeRepository = invoice_TypeRepository;
        }
        /// <summary>
        /// 显示开票类型表
        /// </summary>
        /// <returns></returns>
        public List<invoice_type> Getinvoice_type()
        {
            return invoice_TypeRepository.GetShowInfor().ToList();
        }
    }
}
